package com.cheyun.netsalev3.view

import com.cheyun.netsalev3.R
import com.cheyun.netsalev3.adapter.DefaultAdapter
import com.cheyun.netsalev3.databinding.ActivityCirculationRecordBinding
import com.cheyun.netsalev3.utils.BaseActivity

class CirculationRecordActivity : BaseActivity<ActivityCirculationRecordBinding>() {
    override fun initContentView(): Int {
        return R.layout.activity_circulation_record
    }

    private lateinit var adapter: DefaultAdapter<Int>

    override fun initView() {
        adapter = DefaultAdapter(R.layout.circulation_record_item)
        binding.recyclerView.adapter =adapter
    }

    override fun initData() {
//        binding.viewModel?.lists?.observe(this, Observer { list->
//            adapter.submitList(list)
//        })
    }

}
